﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCEntity.TMS.TrainingSite.TrainingSiteConfig
{
    /// <summary>
    /// 培训点配置
    /// </summary>
    public class TrainingSiteConfigEntity
    {
        /// <summary>
        /// 培训点配置ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long TrainingSiteConfigId { get; set; }

        /// <summary>
        /// 代理商记录Id
        /// </summary>
        public long AgentRecordId { get; set; }

        /// <summary>
        /// 培训点名称
        /// </summary>
        public string TrainingSiteName { get; set; }

        /// <summary>
        /// 培训点地址
        /// </summary>
        public string TrainingSiteAddress { get; set; }

        /// <summary>
        /// 省编码
        /// </summary>
        public string ProvinceCode { get; set; }

        /// <summary>
        /// 省名称
        /// </summary>
        public string ProvinceName { get; set; }

        /// <summary>
        /// 市编码
        /// </summary>
        public string CityCode { get; set; }

        /// <summary>
        /// 市名称
        /// </summary>
        public string CityName { get; set; }

        /// <summary>
        /// 区县编码
        /// </summary>
        public string CountyCode { get; set; }

        /// <summary>
        /// 区县名称
        /// </summary>
        public string CountyName { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 可预约人数
        /// </summary>
        public int AppointmentAvailable { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 修改人ID
        /// </summary>
        public long? EditAdminId { get; set; }

        /// <summary>
        /// 修改人名称
        /// </summary>
        public string EditAdminName { get; set; }
    }
}
